package com.rightsidetech.trade.dtos.request;

import com.rightsidetech.commom.base.TimeQueryRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;
import java.io.Serializable;

@Data
public class TdOrderSalesVolumeDayStatisReq extends TimeQueryRequest implements Serializable {

    @ApiModelProperty("门店id")
    private Long storeId;

    @ApiModelProperty("代理商id")
    private Long agentInfoId;

    @ApiModelProperty("大区id")
    private Long areaId;

    @ApiModelProperty("来源, 0-系统, 1-淘宝, 2-京东, 3-抖音,4-拼多多, 5-天猫, 6-苏宁")
    @Pattern(regexp = "^0|1|2|3|4|5|6$",message = "来源类型不正确")
    private String source;
}
